/*
 * @Author: your name
 * @Date: 2020-12-24 10:06:46
 * @LastEditTime: 2020-12-24 15:29:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tlwok-filing-saas-front\src\mock\components\PO.js
 */
export default [
  {
    url: "/offline/list",
    result: {
      success: true,
      desc: "查询线下采购订单成功",
      result: {
        pageNum: 1,
        pageSize: 10,
        pages: 3,
        total: 35,
        "list|10": [
          {
            "id|+1": 1,
            "platformId|20100101001-20201231999": 20170410120,
            orderId: "GW2020101900413985",
            parentPurchaseOrderId: "-1",
            purchaseOrderId: /CG2020[1-9]{7}/,
            "orderState|1": [1, 2, 3, 99, 0],
            operator: 1008320,
            operatorName: "@name",
            platformType: "@cname",
            clientUnitName: "@cname",
            clientPhone: /^400[0-9]{7}|^1[34578]\d{9}$|^0[0-9]{2,3}-[0-9]{8}/,
            address: "@region",
            "businessType|1": ["军采", "央采", "政采"],
            clientName: "@cname",
            "purchasePrice|1-99999.2": 1,
            "salePrice|1-99999.1-2": 1,
            supplierName: "@cname",
            "payState|1-3": 1,
            "deliveryState|0-1": 0,
            "signState|0-1": 0,
            "invoiceState|0-1": 0,
            logisticsNo: "SF1033194298965（顺丰）",
            purchaseSource: "资源中心",
            createTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            updateTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            remark: "紧急需要，尽快发货",
            "updateState|0-1": 1
          }
        ]
      }
    }
  },
  {
    url: "/offline/orderCount",
    result: {
      success: true,
      desc: "查询订单状态计数信息成功",
      result: {
        totalCount: 36,
        waitShipCount: 20,
        waitReceiptCount: 10,
        confirmReceiptCount: 3,
        finishCount: 2,
        cancelCount: 1
      }
    }
  },
  {
    url: "/offline/getOfflineAuthority/",
    result: { success: true, desc: null, result: "true" }
  },
  {
    url: "/offline/baseOrderInfo/",
    isAllResult: true,
    result: {
      success: true,
      desc: "查询线下采购订单成功",
      result: {
        id: 1,
        platformId: 20170410120,
        orderId: "GW2020101900413985",
        parentPurchaseOrderId: "CG20201221001",
        purchaseOrderId: "",
        "orderState|1": [1, 2, 3, 99, 0],
        operator: 1008320,
        operatorName: "sunyin",
        platformType: "京东",
        clientUnitName: "马福琼",
        clientPhone: "13655551111",
        address: "北京市海淀区留学人员海淀创业园",
        businessType: "军采",
        clientName: "雨花石部队",
        purchasePrice: 100.0,
        salePrice: 150.0,
        supplierName: "资源中心（关超）",
        payState: 1,
        deliveryState: 0,
        signState: 0,
        invoiceState: 0,
        logisticsNo: "SF1033194298965（顺丰）",
        purchaseSource: "资源中心",
        createTime: "2020-12-21 10:30:00",
        updateTime: "2020-12-21 10:30:00",
        remark: "紧急需要，尽快发货"
      }
    }
  },
  {
    url: "/offline/goodInfoList",
    isAllResult: true,
    result: {
      success: true,
      desc: "查询线下采购订单商品详情成功",
      result: {
        pageNum: 1,
        pageSize: 10,
        pages: 3,
        total: 35,
        skuNum: 3,
        goodTotal: 1200,
        purchasePrice: 3000.0,
        salePrice: 5000.0,
        "list|5": [
          {
            "id|+1": 1,
            "platformId|20100101001-20201231999": 20170410120,
            orderId: "GW2020101900413985",
            parentPurchaseOrderId: "CG20201221001",
            purchaseOrderId: /CG2020[1-9]{7}/,
            "orderState|1": [1, 2, 3, 99, 0],
            operator: 1008320,
            operatorName: "@name",
            platformType: "@cname",
            clientUnitName: "@cname",
            clientPhone: /^400[0-9]{7}|^1[34578]\d{9}$|^0[0-9]{2,3}-[0-9]{8}/,
            address: "@region",
            "businessType|1": ["军采", "央采", "政采"],
            clientName: "@cname",
            "purchasePrice|1-99999.2": 1,
            "salePrice|1-99999.1-2": 150.0,
            supplierName: "@cname",
            "payState|1-3": 1,
            "deliveryState|0-1": 0,
            "signState|0-1": 0,
            "invoiceState|0-1": 0,
            logisticsNo: "SF1033194298965（顺丰）",
            purchaseSource: "资源中心",
            createTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            updateTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            remark: "紧急需要，尽快发货",
            "goodList|1-5": [
              {
                "id|+1": 1,
                "platformId|20100101001-20201231999": 20170410120,
                purchaseOrderId: /CG2020[1-9]{7}/,
                orderId: "GW2020101900413985",
                "goodName|2-5": "@cname",
                goodModel: /[a-zA-Z]{5}\s[0-9]{1,3}/,
                "num|1-99": 1,
                "price|1-99999.2": 1,
                "totalPrice|1-99999.2": 1,
                createTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
                updateTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/
              }
            ]
          }
        ]
      }
    }
  },
  {
    url: "/manage/offline/list",
    result: {
      success: true,
      desc: "查询线下采购订单成功",
      result: {
        pageNum: 1,
        pageSize: 10,
        pages: 3,
        total: 35,
        "list|10": [
          {
            "id|+1": 1,
            "platformId|20100101001-20201231999": 20170410120,
            orderId: "GW2020101900413985",
            parentPurchaseOrderId: "-1",
            purchaseOrderId: /CG2020[1-9]{7}/,
            "orderState|1": [1, 2, 3, 99, 0],
            operator: 1008320,
            operatorName: "@name",
            platformType: "@cname",
            clientUnitName: "@cname",
            clientPhone: /^400[0-9]{7}|^1[34578]\d{9}$|^0[0-9]{2,3}-[0-9]{8}/,
            address: "@region",
            "businessType|1": ["军采", "央采", "政采"],
            clientName: "@cname",
            "purchasePrice|1-99999.2": 1,
            "salePrice|1-99999.1-2": 1,
            supplierName: "@cname",
            "payState|1-3": 1,
            "deliveryState|0-1": 0,
            "signState|0-1": 0,
            "invoiceState|0-1": 0,
            logisticsNo: "SF1033194298965（顺丰）",
            purchaseSource: "资源中心",
            createTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            updateTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            remark: "紧急需要，尽快发货",
            "updateState|0-1": 1
          }
        ]
      }
    }
  },
  {
    url: "/manage/offline/orderCount",
    result: {
      success: true,
      desc: "查询订单状态计数信息成功",
      result: {
        totalCount: 36,
        waitShipCount: 20,
        waitReceiptCount: 10,
        confirmReceiptCount: 3,
        finishCount: 2,
        cancelCount: 1
      }
    }
  },
  {
    url: "/manage/offline/baseOrderInfo/",
    isAllResult: true,
    result: {
      success: true,
      desc: "查询线下采购订单成功",
      result: {
        id: 1,
        platformId: 20170410120,
        orderId: "GW2020101900413985",
        parentPurchaseOrderId: "CG20201221001",
        purchaseOrderId: "",
        "orderState|1": [1, 2, 3, 99, 0],
        operator: 1008320,
        operatorName: "sunyin",
        platformType: "京东",
        clientUnitName: "马福琼",
        clientPhone: "13655551111",
        address: "北京市海淀区留学人员海淀创业园",
        businessType: "军采",
        clientName: "雨花石部队",
        purchasePrice: 100.0,
        salePrice: 150.0,
        supplierName: "资源中心（关超）",
        payState: 1,
        deliveryState: 0,
        signState: 0,
        invoiceState: 0,
        logisticsNo: "SF1033194298965（顺丰）",
        purchaseSource: "资源中心",
        createTime: "2020-12-21 10:30:00",
        updateTime: "2020-12-21 10:30:00",
        remark: "紧急需要，尽快发货"
      }
    }
  },
  {
    url: "/manage/offline/goodInfoList",
    isAllResult: true,
    result: {
      success: true,
      desc: "查询线下采购订单商品详情成功",
      result: {
        pageNum: 1,
        pageSize: 10,
        pages: 3,
        total: 35,
        skuNum: 3,
        goodTotal: 1200,
        purchasePrice: 3000.0,
        salePrice: 5000.0,
        "list|5": [
          {
            "id|+1": 1,
            "platformId|20100101001-20201231999": 20170410120,
            orderId: "GW2020101900413985",
            parentPurchaseOrderId: "CG20201221001",
            purchaseOrderId: /CG2020[1-9]{7}/,
            "orderState|1": [1, 2, 3, 99, 0],
            operator: 1008320,
            operatorName: "@name",
            platformType: "@cname",
            clientUnitName: "@cname",
            clientPhone: /^400[0-9]{7}|^1[34578]\d{9}$|^0[0-9]{2,3}-[0-9]{8}/,
            address: "@region",
            "businessType|1": ["军采", "央采", "政采"],
            clientName: "@cname",
            "purchasePrice|1-99999.2": 1,
            "salePrice|1-99999.1-2": 150.0,
            supplierName: "@cname",
            "payState|1-3": 1,
            "deliveryState|0-1": 0,
            "signState|0-1": 0,
            "invoiceState|0-1": 0,
            logisticsNo: "SF1033194298965（顺丰）",
            purchaseSource: "资源中心",
            createTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            updateTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
            remark: "紧急需要，尽快发货",
            "goodList|1-5": [
              {
                "id|+1": 1,
                "platformId|20100101001-20201231999": 20170410120,
                purchaseOrderId: /CG2020[1-9]{7}/,
                orderId: "GW2020101900413985",
                "goodName|2-5": "@cname",
                goodModel: /[a-zA-Z]{5}\s[0-9]{1,3}/,
                "num|1-99": 1,
                "price|1-99999.2": 1,
                "totalPrice|1-99999.2": 1,
                createTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/,
                updateTime: /2020-[0-1][1-2]-[0-1][1-2]\s[0-2][1-3]:[0-5]:[1-9]/
              }
            ]
          }
        ]
      }
    }
  }
];
